package com.jdzy.model.student.vos;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
@Data
public class EventAnnouncementsVo {
    @ApiModelProperty(value = "id")
    private Long id;
    @ApiModelProperty(value = "赛事名称")
    private String eventName;

    @ApiModelProperty(value = "赛事类型")
    private String eventType;

    @ApiModelProperty(value = "赛事描述")
    private String eventDescription;

    @ApiModelProperty(value = "赛事开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate eventStartTime;

    @ApiModelProperty(value = "赛事结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate eventEndTime;


    @ApiModelProperty(value = "赛事链接")
    private String eventLink;
}
